<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .yellow{
            background-color: yellow;
        }
        .red{
            background-color: red;
        }
        .green{
            background-color: green;
        }
        .blue{
            background-color: blue;
        }
        .pink{
            background-color: pink;
        }
        .orange{
            background-color: orange;
        }
        .wrapper{
            display: grid;
            grid-template-columns: 100px 100px 100px;/* 3列 */
            grid-template-rows: 50px 50px;/* 2行 */
            margin-bottom: 10px;
        }
        .wrapper1{
            display: grid;
            grid-template-columns: 100px 100px 100px;/* 3列 */
            /* grid-template-columns: repeat(3,100px); */
            grid-template-rows: 50px 50px;/* 2行 */
            margin-bottom: 10px;
        }
        .container{
            display: grid;
            grid-template-columns: 1fr 2fr 1fr;/* 3列 */
            grid-template-rows: 50px 50px;/* 2行 */
            margin-bottom: 10px;
        }
        .item1{
            grid-column-start: 1;
            grid-column-end: 3;
        }
        .item3{
            grid-row-start: 2;
            grid-row-end: 4;
        }
        .item4{
            grid-column-start: 2;
            grid-column-end: 4;
        }
    </style>
</head>
<body>
    <div class="wrapper">
        <div class="yellow">1</div>
        <div class="red">2</div>
        <div class="green">3</div>
        <div class="blue">4</div>
        <div class="pink">5</div>
        <div class="orange">6</div>
    </div>
    <div class="wrapper1">
        <div class="item1 yellow">1</div>
        <div class="item2 red">2</div>
        <div class="item3 green">3</div>
        <div class="item4 blue">4</div>
        <div class="item5 pink">5</div>
        <div class="item6 orange">6</div>
    </div>
    <div class="container">
        <div class="yellow">1</div>
        <div class="red">2</div>
        <div class="green">3</div>
        <div class="blue">4</div>
        <div class="pink">5</div>
        <div class="orange">6</div>
    </div>
</body>
</html>